﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<%: Html.HiddenFor(model => model)%>
<div id="<%:ViewData.ModelMetadata.PropertyName%>_ckeditor">
</div>
<script type="text/javascript">
    var editor;
</script>
<img alt="" src="/ckeditor/images/spacer.gif" onload="editor = CKEDITOR.appendTo('<%:ViewData.ModelMetadata.PropertyName%>_ckeditor', {}, $('#<%:ViewData.ModelMetadata.PropertyName%>').val());" />